<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>常见问题</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../../css/mui.min.css">
		<link rel="stylesheet" href="../../css/app.css">
		<style>
			.mui-bar-nav~.mui-content{padding:0;margin-top:45px;}
			/*搜索框*/
			.mui-search{width:7rem;margin:.11rem auto;position:fixed;left:.25rem;z-index:5000;}
			input[type=search]{height:.6rem;color:#999;font-size:.28rem;background:#fff;margin-bottom:0;}
			.mui-input-row.mui-search .mui-icon-speech{top:.1rem;font-size:.4rem;}
			.mui-input-row.mui-search .mui-icon-clear{top:.12rem;font-size:.4rem;}
			.mui-search .mui-placeholder{font-size:.28rem;line-height:.66rem;}
			.mui-search .mui-placeholder .mui-icon{font-size:.4rem;}
			.mui-search:before{top:80%;font-size:.4rem !important;}			
		</style>
	</head>
	<body>
		<div class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">常见问题</h1>
		</div>
		<div class="mui-content mui-scroll-wrapper" >
			<div class="mui-input-row mui-search mui-active">
				<input id="keyWord" type="search" class="mui-input-speech mui-input-clear" placeholder="请输入办事相关的问题关键词">
			</div>
			<!--问题列表-->
		</div>
		<script>
		function my_immersed(){
			document.querySelector(".mui-bar-nav").style.paddingTop = immersed + 'px';	
			document.querySelector(".mui-bar-nav").style.height = (44 + immersed) + 'px';
			document.querySelector(".mui-content").style.marginTop = (44 + immersed) + 'px';
		}
		</script>
		<script src="../../js/immersed.js"></script>
		<script src="../../js/mui.min.js"></script>
		<script src="../../js/common.js"></script>
		<script src="../../js/app.js"></script>
		<script src="../../js/mui.pullToRefresh.js"></script>
		<script src="../../js/vue.min.js"></script>
		<script>
			mui.init({
				subpages:[{
				  url:'sxQuestion_detail.html',
			      id:'sxQuestion_detail.html',
			      styles:{
			        top: (85 + immersed) +"px",
			        bottom: "0px",bounce:'vertical'
			      },
			      extras:{}
				}]
			})
			mui.plusReady(function() {
				closeWaitingAndShowView(); 
			});
		
			
			document.getElementById('keyWord').addEventListener('search', function() {
				var  keyWord=document.getElementById('keyWord').value;
				var contentWebview = plus.webview.getWebviewById('sxQuestion_detail.html');
                // 发出查找通知
                setTimeout(function(){
                	mui.fire(contentWebview, "searchEvent", {
	                    "searchKey": keyWord
	                })
                },100) 
			});
			
		</script>
	</body>
</html>
